<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="comm.util.SoptHashMap"%>
<%@page import="comm.util.RequestManager"%>
<%
	SoptHashMap hm = RequestManager.getRequest(request);
%>
<div>
	<input type="button" onclick="javascript:closeRegContentForm()" value="쓰기창 끄기">
</div>
<div id="currentTag">
	<%=hm.get("TEXT")!=null?hm.get("TEXT").toString():""%>
</div>    
<div id="contentInputForm">
	<form action="jsp/regContentProc.jsp" method="post" target="ifr" onsubmit="return checkRegContentForm();" id="regContentForm">
		<input type="hidden" name="tag_seq" id="cur_tag_seq" value="<%=hm.get("SEQ")!=null?hm.get("SEQ").toString():""%>">
		<textarea name="content" id="content_input" onkeydown="javascript:if(event.keyCode==13 && checkRegContentForm())document.getElementById('regContentForm').submit();"></textarea>
		<input type="submit" value="쓰기" id="btnRegContent" disabled="disabled">
	</form>
</div>
<div id="listContentCurTag">
</div>